
/* 设置滚动条的宽度 */
::-webkit-scrollbar {
  width: 8px;
}

/* 设置滚动条轨道的颜色 */
::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0);
}

/* 设置滚动条滑块的颜色和圆角 */
::-webkit-scrollbar-thumb {
  background-color: rgba(11, 178, 255, 0.507);
  border-radius: 3px;
}

/* 定义进入和离开时的动画 */
.slide-enter-active,
.slide-leave-active {
  transition: transform 0.5s ease, opacity 0.5s ease;
  position: absolute;
  /* top: 0;
  left: 0;
  right: 0;
  bottom: 0; */
  /* width: 100%;
  height: 100%; */
}

.slide-enter-from {
  opacity: 0;
  transform: translateY(-30px);
}

.slide-leave-to {
  opacity: 0;
  transform: translateY(30px);
}

.slide-enter-to,
.slide-leave-from {
  opacity: 1;
  transform: translateX(0);
}